< previous page page_xiv next page >

Page xiv
22
Collections
433
9f31265bb40b592b1929e18a47ab28e5.gif
What Is a Collection?
434
9f31265bb40b592b1929e18a47ab28e5.gif
Examples of Built-in Collections
434
9f31265bb40b592b1929e18a47ab28e5.gif
Characteristics of the Built-in Collections
434
9f31265bb40b592b1929e18a47ab28e5.gif
The Forms Collection
435
9f31265bb40b592b1929e18a47ab28e5.gif
For Each . . . Next
435
9f31265bb40b592b1929e18a47ab28e5.gif
Keeping Track of Form Instances
436
9f31265bb40b592b1929e18a47ab28e5.gif
Checking for Instances of Forms
438
9f31265bb40b592b1929e18a47ab28e5.gif
The Controls Collection
438
9f31265bb40b592b1929e18a47ab28e5.gif
The Printer Collection
441
9f31265bb40b592b1929e18a47ab28e5.gif
The Collection Class
442
9f31265bb40b592b1929e18a47ab28e5.gif
Using the Collection Class
443
9f31265bb40b592b1929e18a47ab28e5.gif
Problems with Public Collections
445
9f31265bb40b592b1929e18a47ab28e5.gif
Create Your Own Collection Class
447
9f31265bb40b592b1929e18a47ab28e5.gif
Using the Employees Class
450
9f31265bb40b592b1929e18a47ab28e5.gif
Adding Iteration
451
9f31265bb40b592b1929e18a47ab28e5.gif
Adding the _NewEnum Method
453
9f31265bb40b592b1929e18a47ab28e5.gif
Summary
455
9f31265bb40b592b1929e18a47ab28e5.gif
Review Questions
455
9f31265bb40b592b1929e18a47ab28e5.gif
Exercises
455
23
Tips and Tricks
457
9f31265bb40b592b1929e18a47ab28e5.gif
Handling Keystrokes
458
9f31265bb40b592b1929e18a47ab28e5.gif
Uppercase Input
458
9f31265bb40b592b1929e18a47ab28e5.gif
Lowercase Input
459
9f31265bb40b592b1929e18a47ab28e5.gif
Input Numbers Only
459
9f31265bb40b592b1929e18a47ab28e5.gif
Input Characters Only
460
9f31265bb40b592b1929e18a47ab28e5.gif
Limiting Characters
460
9f31265bb40b592b1929e18a47ab28e5.gif
Validating Data
460
9f31265bb40b592b1929e18a47ab28e5.gif
Deadly Embrace and the LostFocus()Event
461
9f31265bb40b592b1929e18a47ab28e5.gif
The Validate Event
462
9f31265bb40b592b1929e18a47ab28e5.gif
The CausesValidation Property
463
9f31265bb40b592b1929e18a47ab28e5.gif
Control Tricks
463
9f31265bb40b592b1929e18a47ab28e5.gif
ToolTips on Controls
463
9f31265bb40b592b1929e18a47ab28e5.gif
Finding a Value in a Combo Box
463
9f31265bb40b592b1929e18a47ab28e5.gif
The Second Method for Finding Values in Combo Boxes
465
9f31265bb40b592b1929e18a47ab28e5.gif
The ComboBox_Click Event
465
9f31265bb40b592b1929e18a47ab28e5.gif
The DataFormat Property
466
9f31265bb40b592b1929e18a47ab28e5.gif
The TabIndex Property and the Label Control
467
9f31265bb40b592b1929e18a47ab28e5.gif
Third-Party Controls
468
9f31265bb40b592b1929e18a47ab28e5.gif
Advantages to Using Third-Party Controls
468
9f31265bb40b592b1929e18a47ab28e5.gif
Disadvantages to Using Third-Party Controls
468
9f31265bb40b592b1929e18a47ab28e5.gif
Additional Functions in Visual Basic
469
9f31265bb40b592b1929e18a47ab28e5.gif
FormatCurrency()
469
9f31265bb40b592b1929e18a47ab28e5.gif
FormatDateTime()
470
9f31265bb40b592b1929e18a47ab28e5.gif
FormatNumber()
470
9f31265bb40b592b1929e18a47ab28e5.gif
FormatPercent()
471
9f31265bb40b592b1929e18a47ab28e5.gif
Round()
471
9f31265bb40b592b1929e18a47ab28e5.gif
StrReverse()
472
9f31265bb40b592b1929e18a47ab28e5.gif
MonthName()
472
9f31265bb40b592b1929e18a47ab28e5.gif
WeekdayName()
472
9f31265bb40b592b1929e18a47ab28e5.gif
Summary
473
9f31265bb40b592b1929e18a47ab28e5.gif
Review Questions
473
24
ActiveX Data Objects
475
9f31265bb40b592b1929e18a47ab28e5.gif
The Connection Object
476
9f31265bb40b592b1929e18a47ab28e5.gif
Properties of the Connection Object
476
9f31265bb40b592b1929e18a47ab28e5.gif
Methods of the Connection Object
478
9f31265bb40b592b1929e18a47ab28e5.gif
Creating a Connection Object
478
9f31265bb40b592b1929e18a47ab28e5.gif
Creating a Connection String
480
9f31265bb40b592b1929e18a47ab28e5.gif
The Recordset Object
481
9f31265bb40b592b1929e18a47ab28e5.gif
Properties of the Recordset Object
481
9f31265bb40b592b1929e18a47ab28e5.gif
Methods of the Recordset Object
482
9f31265bb40b592b1929e18a47ab28e5.gif
Recordset Types
483

 
< previous page page_xiv next page >

If you like this book, buy it!